package com.netease.b.b.c;

import com.netease.b.b.e.f;
import com.netease.g.b;
import com.netease.pris.a.i;

public class a extends com.netease.b.b.e.a
{
  public static final String a = "0fb873efabd577e22f295bcf038067a6";
  public static final String b = "d390f64218b411ad";
  private static final String d = "http://www.douban.com";
  private static a e;

  public a()
  {
    super("0fb873efabd577e22f295bcf038067a6", "d390f64218b411ad");
  }

  public static a a()
  {
    if (e == null)
      e = new a();
    return e;
  }

  private String b(int paramInt, String paramString)
  {
    switch (paramInt)
    {
    default:
      if (!i.e(paramString))
        break;
      paramString = "未知错误";
    case 400:
    case 401:
    case 403:
    case 404:
    case 500:
    }
    while (true)
    {
      return paramString;
      paramString = "请求的地址不存在或者包含不支持的参数";
      continue;
      paramString = "未授权";
      continue;
      paramString = "被禁止访问";
      continue;
      paramString = "请求的资源不存在";
      continue;
      paramString = "内部错误";
    }
  }

  public int a(com.netease.b.b.e.d paramd)
  {
    b("0fb873efabd577e22f295bcf038067a6", "d390f64218b411ad");
    return a(new d(), paramd);
  }

  public int a(String paramString1, String paramString2, String paramString3, com.netease.b.b.e.d paramd)
  {
    return a(c.a(paramString1, paramString2, paramString3), paramd);
  }

  public f a(int paramInt, String paramString)
  {
    f localf;
    if (paramString == null)
      localf = new f(6, -5, null, null);
    while (true)
    {
      return localf;
      b.e("DoubanService", "errorCode:" + paramInt + "|" + paramString);
      localf = new f(6);
      localf.h = paramInt;
      localf.i = String.valueOf(paramInt);
      localf.j = b(paramInt, paramString);
    }
  }

  public String a(String paramString)
  {
    return "http://www.douban.com" + paramString;
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.b.b.c.a
 * JD-Core Version:    0.6.0
 */